package net.hombrecero.bigbeat.dao.impl;

import net.hombrecero.bigbeat.dao.SubSetDAO;
import net.hombrecero.bigbeat.model.SubSet;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class SubSetDAOHibernate extends HibernateDaoSupport implements SubSetDAO {
	public void storeSubSet( SubSet subSet ) throws DataAccessException {
        this.getHibernateTemplate().saveOrUpdate( subSet );
	}
	public void deleteSubSet( SubSet subSet ) throws DataAccessException {
        this.getHibernateTemplate().delete( subSet );
	}
}
